package pw.hais.etgsh.app;

import com.avos.avoscloud.AVAnalytics;
import com.avos.avoscloud.AVOSCloud;
import com.iflytek.cloud.SpeechConstant;
import com.iflytek.cloud.SpeechUtility;

import pw.hais.app.AppApplication;
import pw.hais.etgsh.R;

/**
 * Created by hais1992 on 2016/1/23/023.
 */
public class HaisApplication extends AppApplication {

    @Override
    public void onCreate() {
        super.onCreate();

        AVAnalytics.setAppChannel(getResources().getString(R.string.app_name));
        AVOSCloud.initialize(this, V.X_LC_Id, V.X_LC_Key);
        AVAnalytics.enableCrashReport(this, true);

        SpeechUtility.createUtility(this, SpeechConstant.APPID+"=56a310ca");

    }
}
